package pri.black.garden.biz;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import pri.black.garden.domain.PlanLinkVegetables;
import pri.black.garden.service.IPlanLinkVegetablesService;

/**
 * plan-link-vegetablesBiz业务层处理
 * 
 * @author black
 * @date 2025-02-18
 */
@Service
public class PlanLinkVegetablesBiz
{
    @Autowired
    private IPlanLinkVegetablesService planLinkVegetablesService;

    public IPlanLinkVegetablesService getService(){
        return planLinkVegetablesService;
    }

    /**
     * 新增PlanLinkVegetables
     */
    public boolean save(PlanLinkVegetables planLinkVegetables){
        return planLinkVegetablesService.save(planLinkVegetables);//看情况提取至controller中
    }

    /**
     * 更新PlanLinkVegetables
     */
    public boolean update(PlanLinkVegetables planLinkVegetables){
        return planLinkVegetablesService.updateById(planLinkVegetables);
    }
}
